package com.ruoyi.system.domain.honor.studenthonor;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 在校生对象 student
 * 
 * @author ruoyi
 * @date 2025-08-05
 */
public class Student extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增主键 */
    private Long id;

    /** 姓名 */
    @Excel(name = "姓名")
    private String studentName;

    /** 入学时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "入学时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date enrollmentTime;

    /** 学位类型 */
    @Excel(name = "学位类型")
    private String degreeType;

    /** 学习方式 */
    @Excel(name = "学习方式")
    private String learningMethod;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }



    public void setEnrollmentTime(Date enrollmentTime) 
    {
        this.enrollmentTime = enrollmentTime;
    }

    public Date getEnrollmentTime() 
    {
        return enrollmentTime;
    }

    public void setDegreeType(String degreeType) 
    {
        this.degreeType = degreeType;
    }

    public String getDegreeType() 
    {
        return degreeType;
    }

    public void setLearningMethod(String learningMethod) 
    {
        this.learningMethod = learningMethod;
    }

    public String getLearningMethod() 
    {
        return learningMethod;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("studentName", getStudentName())
            .append("enrollmentTime", getEnrollmentTime())
            .append("degreeType", getDegreeType())
            .append("learningMethod", getLearningMethod())
            .toString();
    }

    public String getStudentName() {
        return studentName;
    }

    public void setStudentName(String studentName) {
        this.studentName = studentName;
    }
}
